home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG TV-ROM Too
/
TV-ROM Too™.iso
/
Applications
/
MoviePlayer
/
MoviePlayer.rsrc
/
CODE_9_PRINTING.txt
< prev
next >
Wrap
Text File
|
1989-08-21
|
49KB
|
893 lines
# far model CODE resource
# near model jump table entries starting at A5 + 0x000003C0 (7 of them)
# far model jump table entries starting at A5 + 0x00000000 (0 of them)
# A5 relocation data at 0x00000000
# A5 relocation at 0000FFFE
# A5 is 0x00000000
# PC relocation data at 0x00000000
# PC relocation at 0000FFFE
# load address is 0x00000000
00000000 4E56 0000 link A6, 0
00000004 102D FBB7 move.b D0, [A5 - 0x449]
00000008 4E5E unlink A6
0000000A 4E75 rts
0000000C 9547 subx.w D2, D7
0000000E 6574 bcs +0x76 /* 00000084 */
00000010 506F 7374 addq.w [A7 + 0x7374], 8
00000014 6572 bcs +0x74 /* 00000088 */
00000016 4672 616D not.w <<invalid full ext with IS == 1 and I/IS == 5>>
0000001A 6553 bcs +0x55 /* 0000006F */
0000001C 6574 bcs +0x76 /* 00000092 */
0000001E 7469 moveq.l D2, 0x69
00000020 6E67 bgt +0x69 /* 00000089 */
00000022 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000026 0000 4AAD ori.b D0, 0xAD
0000002A FBA8 .invalid <<F/6/5>>
0000002C 56C0 sne D0
0000002E 4400 neg.b D0
00000030 4E5E unlink A6
00000032 4E75 rts
00000034 9450 sub.w D2, [A0]
00000036 6167 bsr +0x69 /* 0000009F */
00000038 6553 bcs +0x55 /* 0000008D */
0000003A 6574 bcs +0x76 /* 000000B0 */
0000003C 7570 moveq.l D2, 0x70
0000003E 4861 pea.l -[A1]
00000040 7342 moveq.l D1, 0x42
00000042 6565 bcs +0x67 /* 000000A9 */
00000044 6E44 bgt +0x46 /* 0000008A */
00000046 6F6E ble +0x70 /* 000000B6 */
00000048 6500 0000 bcs +0x2 /* 0000004A */
// begin alternate branch 0000004A-00000052
label0000004A:
0000004A 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000004C: // (misaligned)
0000004E 0000 2F07 ori.b D0, 0x7
// end alternate branch 0000004A-00000052
label0000004A: // (misaligned)
fn0000004C:
0000004C 4E56 0000 link A6, 0
00000050 2F07 move.l -[A7], D7
00000052 4AAD FBA8 tst.l [A5 - 0x458]
00000056 6614 bne +0x16 /* 0000006C */
00000058 7078 moveq.l D0, 0x78
0000005A A122 syscall NewHandle, flags=1
0000005C 2B48 FBA8 move.l [A5 - 0x458], A0
00000060 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
00000064 6706 beq +0x8 /* 0000006C */
00000066 7000 moveq.l D0, 0x00
00000068 2B40 FBA8 move.l [A5 - 0x458], D0
label0000006C:
0000006C 3007 move.w D0, D7
0000006E 2E2E FFFC move.l D7, [A6 - 0x4]
00000072 4E5E unlink A6
00000074 4E75 rts
00000076 9149 subx.w -[A0], -[A1]
00000078 6E69 bgt +0x6B /* 000000E3 */
0000007A 7450 moveq.l D2, 0x50
0000007C 6167 bsr +0x69 /* 000000E5 */
0000007E 6553 bcs +0x55 /* 000000D3 */
00000080 6574 bcs +0x76 /* 000000F6 */
00000082 7570 moveq.l D2, 0x70
label00000084:
00000084 496E 666F chk.w D4, [A6 + 0x666F]
label00000088:
00000088 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000008A-00000094
label0000008A:
0000008A 4E56 0000 link A6, 0
0000008E 2B6E 0008 FBB8 move.l [A5 - 0x448], [A6 + 0x8]
// end alternate branch 0000008A-00000094
label0000008A: // (misaligned)
0000008C 0000 2B6E ori.b D0, 0x6E /* 'n' */
00000090 0008 FBB8 ori.b A0, 0xB8
// begin alternate branch 00000092-00000094
label00000092:
00000092 FBB8 .invalid <<F/6/5>>
// end alternate branch 00000092-00000094
label00000092: // (misaligned)
00000094 4E5E unlink A6
00000096 4E75 rts
00000098 9753 sub.w [A3], D3
0000009A 6574 bcs +0x76 /* 00000110 */
0000009C 5072 696E addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
000000A0 7469 moveq.l D2, 0x69
000000A2 6E67 bgt +0x69 /* 0000010B */
000000A4 4361 chk.w D1, -[A1]
000000A6 6C6C bge +0x6E /* 00000114 */
000000A8 4261 clr.w -[A1]
000000AA 636B bls +0x6D /* 00000117 */
000000AC 5072 6F63 0000 4E56 FFE6 addq.w [[A2] + 0x4E56FFE6], 8
// begin alternate branch 000000B0-000000B6
label000000B0:
000000B0 0000 4E56 ori.b D0, 0x56 /* 'V' */
000000B4 FFE6 .invalid <<F/7/7>>
// end alternate branch 000000B0-000000B6
label000000B0: // (misaligned)
label000000B6:
000000B6 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000BA 4247 clr.w D7
000000BC 4AAD FBA8 tst.l [A5 - 0x458]
000000C0 660A bne +0xC /* 000000CC */
000000C2 4EBA FF88 jsr [PC - 0x78 /* 0000004C */]
000000C6 3E00 move.w D7, D0
000000C8 6600 01A6 bne +0x1A8 /* 00000270 */
label000000CC:
000000CC 4AAD FBA8 tst.l [A5 - 0x458]
000000D0 6616 bne +0x18 /* 000000E8 */
000000D2 4EBA FF78 jsr [PC - 0x88 /* 0000004C */]
000000D6 3E00 move.w D7, D0
000000D8 6600 018E bne +0x190 /* 00000268 */
000000DC 4AAD FBA8 tst.l [A5 - 0x458]
000000E0 6606 bne +0x8 /* 000000E8 */
000000E2 7EFF moveq.l D7, 0xFFFFFFFF
000000E4 6000 0182 bra +0x184 /* 00000268 */
label000000E8:
000000E8 2F3C C800 0000 move.l -[A7], 0xC8000000
000000EE A8FD syscall PrGlue
000000F0 558F subq.l A7, 2
000000F2 2F3C BA00 0000 move.l -[A7], 0xBA000000
// begin alternate branch 000000F6-000000FA
label000000F6:
000000F6 0000 A8FD ori.b D0, 0xFD
// end alternate branch 000000F6-000000FA
label000000F6: // (misaligned)
000000F8 A8FD syscall PrGlue
000000FA 3E1F move.w D7, [A7]+
000000FC 6600 016A bne +0x16C /* 00000268 */
00000100 558F subq.l A7, 2
00000102 2F2D FBA8 move.l -[A7], [A5 - 0x458]
00000106 2F3C 5204 0498 move.l -[A7], 0x52040498
0000010C A8FD syscall PrGlue
0000010E 1A1F move.b D5, [A7]+
label00000110:
00000110 558F subq.l A7, 2
00000112 2F3C BA00 0000 move.l -[A7], 0xBA000000
// begin alternate branch 00000114-0000011A
label00000114:
00000114 BA00 cmp.b D5, D0
00000116 0000 A8FD ori.b D0, 0xFD
// end alternate branch 00000114-0000011A
label00000114: // (misaligned)
00000118 A8FD syscall PrGlue
0000011A 3E1F move.w D7, [A7]+
0000011C 6600 014A bne +0x14C /* 00000268 */
00000120 4A2E 000B tst.b [A6 + 0xB]
00000124 675E beq +0x60 /* 00000184 */
00000126 1B6E 001B FBB6 move.b [A5 - 0x44A], [A6 + 0x1B]
0000012C 598F subq.l A7, 4
0000012E 2F2D FBA8 move.l -[A7], [A5 - 0x458]
00000132 2F3C 4404 0410 move.l -[A7], 0x44040410
00000138 A8FD syscall PrGlue
0000013A 2B5F FBAC move.l [A5 - 0x454], [A7]+
0000013E 558F subq.l A7, 2
00000140 2F3C BA00 0000 move.l -[A7], 0xBA000000
00000146 A8FD syscall PrGlue
00000148 3E1F move.w D7, [A7]+
0000014A 6600 011C bne +0x11E /* 00000268 */
0000014E 2F3C FFFF E001 move.l -[A7], 0xFFFFE001
00000154 4878 07E7 push.l 0x7E7
00000158 4EBA 064A jsr [PC + 0x64A /* 000007A4 */]
0000015C 558F subq.l A7, 2
0000015E 2F2D FBA8 move.l -[A7], [A5 - 0x458]
00000162 486D 040A pea.l [A5 + 0x40A /* export_125 */]
00000166 2F3C 4A04 0894 move.l -[A7], 0x4A040894
0000016C A8FD syscall PrGlue
0000016E 1C1F move.b D6, [A7]+
00000170 558F subq.l A7, 2
00000172 2F3C BA00 0000 move.l -[A7], 0xBA000000
00000178 A8FD syscall PrGlue
0000017A 3E1F move.w D7, [A7]+
0000017C 504F addq.w A7, 8
0000017E 6600 00E8 bne +0xEA /* 00000268 */
00000182 6002 bra +0x4 /* 00000186 */
label00000184:
00000184 7C01 moveq.l D6, 0x01
label00000186:
00000186 4A06 tst.b D6
00000188 6700 00DC beq +0xDE /* 00000266 */
0000018C 7000 moveq.l D0, 0x00
0000018E 2640 movea.l A3, D0
00000190 598F subq.l A7, 4
00000192 2F2D FBA8 move.l -[A7], [A5 - 0x458]
00000196 7000 moveq.l D0, 0x00
00000198 2F00 move.l -[A7], D0
0000019A 2F00 move.l -[A7], D0
0000019C 2F3C 0400 0C00 move.l -[A7], 0x4000C00
000001A2 A8FD syscall PrGlue
000001A4 285F movea.l A4, [A7]+
000001A6 558F subq.l A7, 2
000001A8 2F3C BA00 0000 move.l -[A7], 0xBA000000
000001AE A8FD syscall PrGlue
000001B0 3E1F move.w D7, [A7]+
000001B2 6600 00B4 bne +0xB6 /* 00000268 */
000001B6 2F0C move.l -[A7], A4
000001B8 7000 moveq.l D0, 0x00
000001BA 2F00 move.l -[A7], D0
000001BC 2F3C 1000 0808 move.l -[A7], 0x10000808
000001C2 A8FD syscall PrGlue
000001C4 558F subq.l A7, 2
000001C6 2F3C BA00 0000 move.l -[A7], 0xBA000000
000001CC A8FD syscall PrGlue
000001CE 3E1F move.w D7, [A7]+
000001D0 6652 bne +0x54 /* 00000224 */
000001D2 4AAE 000C tst.l [A6 + 0xC]
000001D6 6624 bne +0x26 /* 000001FC */
000001D8 4AAD FBB8 tst.l [A5 - 0x448]
000001DC 6604 bne +0x6 /* 000001E2 */
000001DE 7ECE moveq.l D7, 0xFFFFFFCE
000001E0 6042 bra +0x44 /* 00000224 */
label000001E2:
000001E2 486E 000C pea.l [A6 + 0xC]
000001E6 206D FBB8 movea.l A0, [A5 - 0x448]
000001EA 4E90 jsr [A0]
000001EC 3E00 move.w D7, D0
000001EE 584F addq.w A7, 4
000001F0 6632 bne +0x34 /* 00000224 */
000001F2 4AAE 000C tst.l [A6 + 0xC]
000001F6 6604 bne +0x6 /* 000001FC */
000001F8 7ECE moveq.l D7, 0xFFFFFFCE
000001FA 6028 bra +0x2A /* 00000224 */
label000001FC:
000001FC 7000 moveq.l D0, 0x00
000001FE 102E 0017 move.b D0, [A6 + 0x17]
00000202 2F00 move.l -[A7], D0
00000204 7000 moveq.l D0, 0x00
00000206 102E 0013 move.b D0, [A6 + 0x13]
0000020A 2F00 move.l -[A7], D0
0000020C 2F2E 000C move.l -[A7], [A6 + 0xC]
00000210 4EBA 01AC jsr [PC + 0x1AC /* 000003BE */]
00000214 3E00 move.w D7, D0
00000216 2F0C move.l -[A7], A4
00000218 2F3C 1800 040C move.l -[A7], 0x1800040C
0000021E A8FD syscall PrGlue
00000220 4FEF 000C lea.l A7, [A7 + 0xC]
label00000224:
00000224 2F0C move.l -[A7], A4
00000226 2F3C 0800 0484 move.l -[A7], 0x8000484
0000022C A8FD syscall PrGlue
0000022E 4A47 tst.w D7
00000230 6636 bne +0x38 /* 00000268 */
00000232 206D FBA8 movea.l A0, [A5 - 0x458]
00000236 2050 movea.l A0, [A0]
00000238 4A28 0044 tst.b [A0 + 0x44]
0000023C 672A beq +0x2C /* 00000268 */
0000023E 2F2D FBA8 move.l -[A7], [A5 - 0x458]
00000242 7000 moveq.l D0, 0x00
00000244 2F00 move.l -[A7], D0
00000246 2F00 move.l -[A7], D0
00000248 2F00 move.l -[A7], D0
0000024A 486E FFE6 pea.l [A6 - 0x1A]
0000024E 2F3C 6005 1480 move.l -[A7], 0x60051480
00000254 A8FD syscall PrGlue
00000256 558F subq.l A7, 2
00000258 2F3C BA00 0000 move.l -[A7], 0xBA000000
0000025E A8FD syscall PrGlue
00000260 3E1F move.w D7, [A7]+
00000262 6604 bne +0x6 /* 00000268 */
00000264 6002 bra +0x4 /* 00000268 */
label00000266:
00000266 7E80 moveq.l D7, 0xFFFFFF80
label00000268:
00000268 2F3C D000 0000 move.l -[A7], 0xD0000000
0000026E A8FD syscall PrGlue
label00000270:
00000270 4A47 tst.w D7
00000272 6724 beq +0x26 /* 00000298 */
00000274 0C47 FFD5 cmpi.w D7, 0xFFD5
00000278 6604 bne +0x6 /* 0000027E */
0000027A 7E35 moveq.l D7, 0x35
0000027C 601A bra +0x1C /* 00000298 */
label0000027E:
0000027E 0C47 FF94 cmpi.w D7, 0xFF94
00000282 6714 beq +0x16 /* 00000298 */
00000284 0C47 4A3F cmpi.w D7, 0x4A3F /* 'J?' */
00000288 670E beq +0x10 /* 00000298 */
0000028A 0C47 FFCE cmpi.w D7, 0xFFCE
0000028E 6708 beq +0xA /* 00000298 */
00000290 0C47 FF80 cmpi.w D7, 0xFF80
00000294 6702 beq +0x4 /* 00000298 */
00000296 7E34 moveq.l D7, 0x34
label00000298:
00000298 3007 move.w D0, D7
0000029A 4CEE 18E0 FFD2 movem.l D5,D6,D7,A3,A4, [A6 - 0x2E]
000002A0 4E5E unlink A6
000002A2 4E75 rts
000002A4 8744 6F50 pack D3, D4, 0x6F50
000002A8 7269 moveq.l D1, 0x69
000002AA 6E74 bgt +0x76 /* 00000320 */
000002AC 0000 4E56 ori.b D0, 0x56 /* 'V' */
000002B0 FFF2 .invalid <<F/7/7>>
000002B2 2F07 move.l -[A7], D7
000002B4 4878 07E7 push.l 0x7E7
000002B8 2F2D FBAC move.l -[A7], [A5 - 0x454]
000002BC 4EBA 02E4 jsr [PC + 0x2E4 /* 000005A2 */]
000002C0 3E00 move.w D7, D0
000002C2 3B47 FBB0 move.w [A5 - 0x450], D7
000002C6 2F2D FBAC move.l -[A7], [A5 - 0x454]
000002CA 3F07 move.w -[A7], D7
000002CC 486E FFF2 pea.l [A6 - 0xE]
000002D0 486E FFF4 pea.l [A6 - 0xC]
000002D4 486E FFF8 pea.l [A6 - 0x8]
000002D8 A98D syscall GetDialogItem/GetDItem
000002DA 4A2D FBB6 tst.b [A5 - 0x44A]
000002DE 504F addq.w A7, 8
000002E0 670C beq +0xE /* 000002EE */
000002E2 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000002E6 7000 moveq.l D0, 0x00
000002E8 3F00 move.w -[A7], D0
000002EA A95D syscall HiliteControl
000002EC 600A bra +0xC /* 000002F8 */
label000002EE:
000002EE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000002F2 3F3C 00FF move.w -[A7], 0xFF
000002F6 A95D syscall HiliteControl
label000002F8:
000002F8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000002FC 7000 moveq.l D0, 0x00
000002FE 102D FBB7 move.b D0, [A5 - 0x449]
00000302 3F00 move.w -[A7], D0
00000304 A963 syscall SetControlValue/SetCtlValue
00000306 206D FBAC movea.l A0, [A5 - 0x454]
0000030A 2B68 00AE FBB2 move.l [A5 - 0x44E], [A0 + 0xAE]
00000310 41ED 0412 lea.l A0, [A5 + 0x412 /* export_126 */]
00000314 226D FBAC movea.l A1, [A5 - 0x454]
00000318 2348 00AE move.l [A1 + 0xAE], A0
0000031C 2D6D FBAC 000C move.l [A6 + 0xC], [A5 - 0x454]
// begin alternate branch 00000320-00000326
label00000320:
00000320 000C 2E2E ori.b A4, 0x2E /* '.' */
00000324 FFEE .invalid <<F/7/7>>
// end alternate branch 00000320-00000326
label00000320: // (misaligned)
00000322 2E2E FFEE move.l D7, [A6 - 0x12]
00000326 4E5E unlink A6
00000328 2E9F move.l [A7], [A7]+
0000032A 4E75 rts
0000032C 8C4D or.w D6, A5
0000032E 594A subq.w A2, 4
00000330 4F42 chk.w D7, D2
00000332 444C neg.w A4
00000334 4749 chk.w D3, A1
00000336 4E49 trap 9
00000338 5400 addq.b D0, 2
0000033A 0000 4E56 ori.b D0, 0x56 /* 'V' */
0000033E FFF2 .invalid <<F/7/7>>
00000340 48E7 1708 movem.l -[A7], D3,D5,D6,D7,A4
00000344 286E 000A movea.l A4, [A6 + 0xA]
00000348 3E2E 0008 move.w D7, [A6 + 0x8]
0000034C 3A2D FBB0 move.w D5, [A5 - 0x450]
00000350 48C7 ext.l D7
00000352 48C5 ext.l D5
00000354 2007 move.l D0, D7
00000356 9085 sub.l D0, D5
00000358 3C00 move.w D6, D0
0000035A 5246 addq.w D6, 1
0000035C 4A46 tst.w D6
0000035E 6F34 ble +0x36 /* 00000394 */
00000360 2F0C move.l -[A7], A4
00000362 3F07 move.w -[A7], D7
00000364 486E FFF2 pea.l [A6 - 0xE]
00000368 486E FFF4 pea.l [A6 - 0xC]
0000036C 486E FFF8 pea.l [A6 - 0x8]
00000370 A98D syscall GetDialogItem/GetDItem
00000372 3006 move.w D0, D6
00000374 5340 subq.w D0, 1
00000376 662A bne +0x2C /* 000003A2 */
00000378 4A2D FBB7 tst.b [A5 - 0x449]
0000037C 57C3 seq D3
0000037E 4403 neg.b D3
00000380 1B43 FBB7 move.b [A5 - 0x449], D3
00000384 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000388 7000 moveq.l D0, 0x00
0000038A 102D FBB7 move.b D0, [A5 - 0x449]
0000038E 3F00 move.w -[A7], D0
00000390 A963 syscall SetControlValue/SetCtlValue
00000392 600E bra +0x10 /* 000003A2 */
label00000394:
00000394 558F subq.l A7, 2
00000396 2F0C move.l -[A7], A4
00000398 3F07 move.w -[A7], D7
0000039A 206D FBB2 movea.l A0, [A5 - 0x44E]
0000039E 4E90 jsr [A0]
000003A0 544F addq.w A7, 2
label000003A2:
000003A2 4CEE 10E8 FFDE movem.l D3,D5,D6,D7,A4, [A6 - 0x22]
000003A8 4E5E unlink A6
000003AA 205F movea.l A0, [A7]+
000003AC 5C4F addq.w A7, 6
000003AE 4ED0 jmp [A0]
000003B0 8A4D or.w D5, A5
000003B2 594A subq.w A2, 4
000003B4 4F42 chk.w D7, D2
000003B6 4954 chk.w D4, [A4]
000003B8 454D chk.w D2, A5
000003BA 5300 subq.b D0, 1
000003BC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000003BE-000003C6
fn000003BE:
000003BE 4E56 FEB8 link A6, -0x0148
000003C2 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
// end alternate branch 000003BE-000003C6
fn000003BE: // (misaligned)
000003C0 FEB8 48E7 .extension 0xEB8 <<F/2-3/7>> // unimplemented
000003C4 0F08 btst A0, D7
000003C6 182E 0013 move.b D4, [A6 + 0x13]
000003CA 286E 0008 movea.l A4, [A6 + 0x8]
000003CE 41EE FFCA lea.l A0, [A6 - 0x36]
000003D2 2D48 FFFC move.l [A6 - 0x4], A0
000003D6 4247 clr.w D7
000003D8 486E FF5A pea.l [A6 - 0xA6]
000003DC A874 syscall GetPort
000003DE 2054 movea.l A0, [A4]
000003E0 43EE FEC0 lea.l A1, [A6 - 0x140]
000003E4 5488 addq.l A0, 2
000003E6 22D8 move.l [A1]+, [A0]+
000003E8 22D8 move.l [A1]+, [A0]+
000003EA 206D FBA8 movea.l A0, [A5 - 0x458]
000003EE 2050 movea.l A0, [A0]
000003F0 43EE FEB8 lea.l A1, [A6 - 0x148]
000003F4 5088 addq.l A0, 8
000003F6 22D8 move.l [A1]+, [A0]+
000003F8 22D8 move.l [A1]+, [A0]+
000003FA 41EE FEC8 lea.l A0, [A6 - 0x138]
000003FE 43EE FEC0 lea.l A1, [A6 - 0x140]
00000402 20D9 move.l [A0]+, [A1]+
00000404 20D9 move.l [A0]+, [A1]+
00000406 486E FED1 pea.l [A6 - 0x12F]
0000040A 486E FEB8 pea.l [A6 - 0x148]
0000040E 486E FEC8 pea.l [A6 - 0x138]
00000412 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
00000416 486E FEB8 pea.l [A6 - 0x148]
0000041A 486E FEC8 pea.l [A6 - 0x138]
0000041E 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00000422 4A2E FED1 tst.b [A6 - 0x12F]
00000426 4FEF 0014 lea.l A7, [A7 + 0x14]
0000042A 6600 013E bne +0x140 /* 0000056A */
0000042E 206E FF5A movea.l A0, [A6 - 0xA6]
00000432 4A68 0006 tst.w [A0 + 0x6]
00000436 6D00 0132 blt +0x134 /* 0000056A */
0000043A 6000 012E bra +0x130 /* 0000056A */
0000043E 3A3C 0120 move.w D5, 0x120
00000442 3C3C 0120 move.w D6, 0x120
00000446 41EE FED2 lea.l A0, [A6 - 0x12E]
0000044A 43EE FEC0 lea.l A1, [A6 - 0x140]
0000044E 20D9 move.l [A0]+, [A1]+
00000450 20D9 move.l [A0]+, [A1]+
00000452 7048 moveq.l D0, 0x48
00000454 2F00 move.l -[A7], D0
00000456 48C6 ext.l D6
00000458 2F06 move.l -[A7], D6
0000045A 48C5 ext.l D5
0000045C 2F05 move.l -[A7], D5
0000045E 486E FED2 pea.l [A6 - 0x12E]
00000462 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
00000466 41EE FFD0 lea.l A0, [A6 - 0x30]
0000046A 43EE FED2 lea.l A1, [A6 - 0x12E]
0000046E 20D9 move.l [A0]+, [A1]+
00000470 20D9 move.l [A0]+, [A1]+
00000472 302E FFD6 move.w D0, [A6 - 0x2A]
00000476 48C0 ext.l D0
00000478 322E FFD2 move.w D1, [A6 - 0x2E]
0000047C 48C1 ext.l D1
0000047E 9081 sub.l D0, D1
00000480 720F moveq.l D1, 0x0F
00000482 D081 add.l D0, D1
00000484 7210 moveq.l D1, 0x10
00000486 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
0000048A D080 add.l D0, D0
0000048C 3D40 FFCE move.w [A6 - 0x32], D0
00000490 48C0 ext.l D0
00000492 322E FFD4 move.w D1, [A6 - 0x2C]
00000496 48C1 ext.l D1
00000498 342E FFD0 move.w D2, [A6 - 0x30]
0000049C 48C2 ext.l D2
0000049E 9282 sub.l D1, D2
000004A0 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000004A4 A11E syscall NewPtr, flags=1
000004A6 2D48 FFCA move.l [A6 - 0x36], A0
000004AA 3D7C 0001 FFEA move.w [A6 - 0x16], 0x1
000004B0 426E FFDA clr.w [A6 - 0x26]
000004B4 7000 moveq.l D0, 0x00
000004B6 2D40 FFDC move.l [A6 - 0x24], D0
000004BA 7248 moveq.l D1, 0x48
000004BC 2D41 FFE0 move.l [A6 - 0x20], D1
000004C0 2D41 FFE4 move.l [A6 - 0x1C], D1
000004C4 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
000004CA 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1
000004D0 2D40 FFF0 move.l [A6 - 0x10], D0
000004D4 2D40 FFF4 move.l [A6 - 0xC], D0
000004D8 2D40 FFF8 move.l [A6 - 0x8], D0
000004DC 4AAE FFCA tst.l [A6 - 0x36]
000004E0 4FEF 0010 lea.l A7, [A7 + 0x10]
000004E4 6700 0084 beq +0x86 /* 0000056A */
000004E8 486E FF5E pea.l [A6 - 0xA2]
000004EC AA00 syscall OpenCPort
000004EE 486E FF5E pea.l [A6 - 0xA2]
000004F2 A873 syscall SetPort
000004F4 486E FFFC pea.l [A6 - 0x4]
000004F8 AA06 syscall SetPortPix/SetCPortPix
000004FA 2F2E FF76 move.l -[A7], [A6 - 0x8A]
000004FE 486E FFD0 pea.l [A6 - 0x30]
00000502 A8DF syscall RectRgn
00000504 2F2E FF7A move.l -[A7], [A6 - 0x86]
00000508 486E FFD0 pea.l [A6 - 0x30]
0000050C A8DF syscall RectRgn
0000050E 558F subq.l A7, 2
00000510 2F0C move.l -[A7], A4
00000512 486E FED2 pea.l [A6 - 0x12E]
00000516 7000 moveq.l D0, 0x00
00000518 2F00 move.l -[A7], D0
0000051A 7201 moveq.l D1, 0x01
0000051C 3F01 move.w -[A7], D1
0000051E 2F00 move.l -[A7], D0
00000520 702E moveq.l D0, 0x2E
00000522 AAA3 syscall CodecDispatch
00000524 3E1F move.w D7, [A7]+
00000526 4A04 tst.b D4
00000528 6706 beq +0x8 /* 00000530 */
0000052A 486E FEC8 pea.l [A6 - 0x138]
0000052E A8A1 syscall FrameRect
label00000530:
00000530 2F2E FF5A move.l -[A7], [A6 - 0xA6]
00000534 A873 syscall SetPort
00000536 4A47 tst.w D7
00000538 670A beq +0xC /* 00000544 */
0000053A 4247 clr.w D7
0000053C 206E FFCA movea.l A0, [A6 - 0x36]
00000540 A01F syscall DisposPtr/DisposePtr
00000542 6026 bra +0x28 /* 0000056A */
label00000544:
00000544 486E FFCA pea.l [A6 - 0x36]
00000548 206E FF5A movea.l A0, [A6 - 0xA6]
0000054C 4868 0002 pea.l [A0 + 0x2]
00000550 486E FED2 pea.l [A6 - 0x12E]
00000554 486E FEC8 pea.l [A6 - 0x138]
00000558 7000 moveq.l D0, 0x00
0000055A 3F00 move.w -[A7], D0
0000055C 7200 moveq.l D1, 0x00
0000055E 2F01 move.l -[A7], D1
00000560 A8EC syscall CopyBits
00000562 206E FFCA movea.l A0, [A6 - 0x36]
00000566 A01F syscall DisposPtr/DisposePtr
00000568 6018 bra +0x1A /* 00000582 */
label0000056A:
0000056A 2F0C move.l -[A7], A4
0000056C 486E FEC8 pea.l [A6 - 0x138]
00000570 A8F6 syscall DrawPicture
00000572 558F subq.l A7, 2
00000574 AA40 syscall QDError
00000576 3E1F move.w D7, [A7]+
00000578 4A04 tst.b D4
0000057A 6706 beq +0x8 /* 00000582 */
0000057C 486E FEC8 pea.l [A6 - 0x138]
00000580 A8A1 syscall FrameRect
label00000582:
00000582 3007 move.w D0, D7
00000584 4CEE 10F0 FEA4 movem.l D4,D5,D6,D7,A4, [A6 - 0x15C]
0000058A 4E5E unlink A6
0000058C 4E75 rts
0000058E 9050 sub.w D0, [A0]
00000590 7269 moveq.l D1, 0x69
00000592 6E74 bgt +0x76 /* 00000608 */
00000594 5468 6973 addq.w [A0 + 0x6973], 2
00000598 5069 6374 addq.w [A1 + 0x6374], 8
0000059C 7572 moveq.l D2, 0x72
0000059E 6500 0000 bcs +0x2 /* 000005A0 */
// begin alternate branch 000005A0-000005A6
label000005A0:
000005A0 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000005A2: // (misaligned)
000005A4 FFE0 .invalid <<F/7/7>>
// end alternate branch 000005A0-000005A6
label000005A0: // (misaligned)
fn000005A2:
000005A2 4E56 FFE0 link A6, -0x0020
000005A6 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000005AA 266E 0008 movea.l A3, [A6 + 0x8]
000005AE 41EE FFEC lea.l A0, [A6 - 0x14]
000005B2 43EB 0010 lea.l A1, [A3 + 0x10]
000005B6 20D9 move.l [A0]+, [A1]+
000005B8 20D9 move.l [A0]+, [A1]+
000005BA 3D6E FFF0 FFE8 move.w [A6 - 0x18], [A6 - 0x10]
000005C0 426E FFEA clr.w [A6 - 0x16]
000005C4 302E FFF0 move.w D0, [A6 - 0x10]
000005C8 5B40 subq.w D0, 5
000005CA 3D40 FFF0 move.w [A6 - 0x10], D0
000005CE 302E FFF2 move.w D0, [A6 - 0xE]
000005D2 5B40 subq.w D0, 5
000005D4 3D40 FFF2 move.w [A6 - 0xE], D0
000005D8 206B 009C movea.l A0, [A3 + 0x9C]
000005DC 2D48 FFF8 move.l [A6 - 0x8], A0
000005E0 2050 movea.l A0, [A0]
000005E2 3010 move.w D0, [A0]
000005E4 5440 addq.w D0, 2
000005E6 3D40 FFFC move.w [A6 - 0x4], D0
000005EA 598F subq.l A7, 4
000005EC 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */
000005F2 3F2E 000E move.w -[A7], [A6 + 0xE]
000005F6 A9A0 syscall GetResource
000005F8 205F movea.l A0, [A7]+
000005FA 2D48 FFF4 move.l [A6 - 0xC], A0
000005FE A029 syscall HLock
00000600 206E FFF4 movea.l A0, [A6 - 0xC]
00000604 2050 movea.l A0, [A0]
00000606 3A10 move.w D5, [A0]
label00000608:
00000608 5245 addq.w D5, 1
0000060A 206E FFF4 movea.l A0, [A6 - 0xC]
0000060E 2050 movea.l A0, [A0]
00000610 49E8 0002 lea.l A4, [A0 + 0x2]
00000614 7E01 moveq.l D7, 0x01
00000616 6000 00FC bra +0xFE /* 00000714 */
label0000061A:
0000061A 486C 0004 pea.l [A4 + 0x4]
0000061E 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000622 A8A8 syscall OffsetRect
00000624 486C 0004 pea.l [A4 + 0x4]
00000628 486E FFEC pea.l [A6 - 0x14]
0000062C 486E FFEC pea.l [A6 - 0x14]
00000630 A8AB syscall UnionRect
00000632 426E FFFE clr.w [A6 - 0x2]
00000636 1D6C 000D FFFF move.b [A6 - 0x1], [A4 + 0xD]
0000063C 707F moveq.l D0, 0x7F
0000063E C02C 000C and.b D0, [A4 + 0xC]
00000642 6728 beq +0x2A /* 0000066C */
00000644 5900 subq.b D0, 4
00000646 672C beq +0x2E /* 00000674 */
00000648 5300 subq.b D0, 1
0000064A 6728 beq +0x2A /* 00000674 */
0000064C 5300 subq.b D0, 1
0000064E 6724 beq +0x26 /* 00000674 */
00000650 5300 subq.b D0, 1
00000652 6750 beq +0x52 /* 000006A4 */
00000654 5300 subq.b D0, 1
00000656 6768 beq +0x6A /* 000006C0 */
00000658 5100 subq.b D0, 8
0000065A 6764 beq +0x66 /* 000006C0 */
0000065C 0400 0010 subi.b D0, 0x10
00000660 6776 beq +0x78 /* 000006D8 */
00000662 0400 0020 subi.b D0, 0x20 /* ' ' */
00000666 677C beq +0x7E /* 000006E4 */
00000668 6000 0086 bra +0x88 /* 000006F0 */
label0000066C:
0000066C 7000 moveq.l D0, 0x00
0000066E 2880 move.l [A4], D0
00000670 6000 0082 bra +0x84 /* 000006F4 */
label00000674:
00000674 598F subq.l A7, 4
00000676 2F0B move.l -[A7], A3
00000678 486C 0004 pea.l [A4 + 0x4]
0000067C 486C 000D pea.l [A4 + 0xD]
00000680 7001 moveq.l D0, 0x01
00000682 1F00 move.b -[A7], D0
00000684 7200 moveq.l D1, 0x00
00000686 3F01 move.w -[A7], D1
00000688 3F01 move.w -[A7], D1
0000068A 7001 moveq.l D0, 0x01
0000068C 3F00 move.w -[A7], D0
0000068E 7403 moveq.l D2, 0x03
00000690 C42C 000C and.b D2, [A4 + 0xC]
00000694 7600 moveq.l D3, 0x00
00000696 1602 move.b D3, D2
00000698 3F03 move.w -[A7], D3
0000069A 7000 moveq.l D0, 0x00
0000069C 2F00 move.l -[A7], D0
0000069E A954 syscall NewControl
000006A0 289F move.l [A4], [A7]+
000006A2 6050 bra +0x52 /* 000006F4 */
label000006A4:
000006A4 598F subq.l A7, 4
000006A6 3F2C 000E move.w -[A7], [A4 + 0xE]
000006AA 2F0B move.l -[A7], A3
000006AC A9BE syscall GetNewControl
000006AE 205F movea.l A0, [A7]+
000006B0 2888 move.l [A4], A0
000006B2 2050 movea.l A0, [A0]
000006B4 5088 addq.l A0, 8
000006B6 224C movea.l A1, A4
000006B8 5889 addq.l A1, 4
000006BA 20D9 move.l [A0]+, [A1]+
000006BC 20D9 move.l [A0]+, [A1]+
000006BE 6034 bra +0x36 /* 000006F4 */
label000006C0:
000006C0 558F subq.l A7, 2
000006C2 486C 000E pea.l [A4 + 0xE]
000006C6 2F0C move.l -[A7], A4
000006C8 302E FFFE move.w D0, [A6 - 0x2]
000006CC 48C0 ext.l D0
000006CE 2F00 move.l -[A7], D0
000006D0 4EAD 00E2 jsr [A5 + 0xE2 /* export_24 */]
000006D4 381F move.w D4, [A7]+
000006D6 601C bra +0x1E /* 000006F4 */
label000006D8:
000006D8 598F subq.l A7, 4
000006DA 3F2C 000E move.w -[A7], [A4 + 0xE]
000006DE A9BB syscall GetIcon
000006E0 289F move.l [A4], [A7]+
000006E2 6010 bra +0x12 /* 000006F4 */
label000006E4:
000006E4 598F subq.l A7, 4
000006E6 3F2C 000E move.w -[A7], [A4 + 0xE]
000006EA A9BC syscall GetPicture
000006EC 289F move.l [A4], [A7]+
000006EE 6004 bra +0x6 /* 000006F4 */
label000006F0:
000006F0 7000 moveq.l D0, 0x00
000006F2 2880 move.l [A4], D0
label000006F4:
000006F4 302E FFFE move.w D0, [A6 - 0x2]
000006F8 48C0 ext.l D0
000006FA 5280 addq.l D0, 1
000006FC 2C3C 0000 FFFE move.l D6, 0xFFFE
00000702 CC80 and.l D6, D0
00000704 48C6 ext.l D6
00000706 200C move.l D0, A4
00000708 D086 add.l D0, D6
0000070A 720E moveq.l D1, 0x0E
0000070C D081 add.l D0, D1
0000070E 2840 movea.l A4, D0
00000710 3007 move.w D0, D7
00000712 5247 addq.w D7, 1
label00000714:
00000714 BA47 cmp.w D5, D7
00000716 6C00 FF02 bge -0xFC /* 0000061A */
0000071A 206E FFF4 movea.l A0, [A6 - 0xC]
0000071E 2050 movea.l A0, [A0]
00000720 5488 addq.l A0, 2
00000722 226E FFF8 movea.l A1, [A6 - 0x8]
00000726 2D48 FFE4 move.l [A6 - 0x1C], A0
0000072A 2D49 FFE0 move.l [A6 - 0x20], A1
0000072E 598F subq.l A7, 4
00000730 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000734 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000738 201F move.l D0, [A7]+
0000073A 5580 subq.l D0, 2
0000073C 206E FFE4 movea.l A0, [A6 - 0x1C]
00000740 226E FFE0 movea.l A1, [A6 - 0x20]
00000744 A9EF syscall PtrAndHand
00000746 3800 move.w D4, D0
00000748 206E FFF8 movea.l A0, [A6 - 0x8]
0000074C 2050 movea.l A0, [A0]
0000074E 3005 move.w D0, D5
00000750 D050 add.w D0, [A0]
00000752 206E FFF8 movea.l A0, [A6 - 0x8]
00000756 2050 movea.l A0, [A0]
00000758 3080 move.w [A0], D0
0000075A 206E FFF4 movea.l A0, [A6 - 0xC]
0000075E A02A syscall HUnlock
00000760 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000764 A9A3 syscall ReleaseResource
00000766 302E FFF0 move.w D0, [A6 - 0x10]
0000076A 5A40 addq.w D0, 5
0000076C 3D40 FFF0 move.w [A6 - 0x10], D0
00000770 302E FFF2 move.w D0, [A6 - 0xE]
00000774 5A40 addq.w D0, 5
00000776 3D40 FFF2 move.w [A6 - 0xE], D0
0000077A 2F0B move.l -[A7], A3
0000077C 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000780 7001 moveq.l D0, 0x01
00000782 1F00 move.b -[A7], D0
00000784 A91D syscall SizeWindow
00000786 302E FFFC move.w D0, [A6 - 0x4]
0000078A 4CEE 18F8 FFC4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x3C]
00000790 4E5E unlink A6
00000792 4E75 rts
00000794 8D41 7070 pack D6, D1, 0x7070
00000798 656E bcs +0x70 /* 00000808 */
0000079A 6454 bcc +0x56 /* 000007F0 */
0000079C 6865 bvc +0x67 /* 00000803 */
0000079E 4449 neg.w A1
000007A0 544C addq.w A4, 2
000007A2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000007A4-000007A8
fn000007A4:
000007A4 4E56 FFF8 link A6, -0x0008
// end alternate branch 000007A4-000007A8
fn000007A4: // (misaligned)
000007A6 FFF8 .invalid <<F/7/7>>
000007A8 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000007AC 3E2E 000E move.w D7, [A6 + 0xE]
000007B0 598F subq.l A7, 4
000007B2 2F3C 6864 6C67 move.l -[A7], 0x68646C67 /* 'hdlg' */
000007B8 3F2E 000A move.w -[A7], [A6 + 0xA]
000007BC A9A0 syscall GetResource
000007BE 265F movea.l A3, [A7]+
000007C0 200B move.l D0, A3
000007C2 6700 00BE beq +0xC0 /* 00000882 */
000007C6 7000 moveq.l D0, 0x00
000007C8 1F00 move.b -[A7], D0
000007CA A99B syscall SetResLoad
000007CC 598F subq.l A7, 4
000007CE 2F3C 6864 6C67 move.l -[A7], 0x68646C67 /* 'hdlg' */
000007D4 3F07 move.w -[A7], D7
000007D6 A9A0 syscall GetResource
000007D8 285F movea.l A4, [A7]+
000007DA 7001 moveq.l D0, 0x01
000007DC 1F00 move.b -[A7], D0
000007DE A99B syscall SetResLoad
000007E0 4A94 tst.l [A4]
000007E2 660E bne +0x10 /* 000007F2 */
000007E4 598F subq.l A7, 4
000007E6 2F3C 6864 6C67 move.l -[A7], 0x68646C67 /* 'hdlg' */
000007EC 3F07 move.w -[A7], D7
000007EE A9A0 syscall GetResource
label000007F0:
000007F0 285F movea.l A4, [A7]+
label000007F2:
000007F2 204C movea.l A0, A4
000007F4 A069 syscall HGetState
000007F6 1800 move.b D4, D0
000007F8 200C move.l D0, A4
000007FA 6700 0086 beq +0x88 /* 00000882 */
000007FE 2013 move.l D0, [A3]
00000800 720E moveq.l D1, 0x0E
00000802 D081 add.l D0, D1
00000804 2D40 FFF8 move.l [A6 - 0x8], D0
label00000808:
00000808 2040 movea.l A0, D0
0000080A 3E10 move.w D7, [A0]
0000080C 598F subq.l A7, 4
0000080E 2F0B move.l -[A7], A3
00000810 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000814 201F move.l D0, [A7]+
00000816 48C7 ext.l D7
00000818 720E moveq.l D1, 0x0E
0000081A 9287 sub.l D1, D7
0000081C 3A00 move.w D5, D0
0000081E 9A41 sub.w D5, D1
00000820 598F subq.l A7, 4
00000822 2F0C move.l -[A7], A4
00000824 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000828 201F move.l D0, [A7]+
0000082A 3C00 move.w D6, D0
0000082C 204C movea.l A0, A4
0000082E 48C6 ext.l D6
00000830 48C5 ext.l D5
00000832 2006 move.l D0, D6
00000834 D085 add.l D0, D5
00000836 A024 syscall SetHandleSize
00000838 4A78 0220 tst.w [0x00000220 /* MemErr */]
0000083C 6648 bne +0x4A /* 00000886 */
0000083E 48C6 ext.l D6
00000840 2006 move.l D0, D6
00000842 D094 add.l D0, [A4]
00000844 2D40 FFFC move.l [A6 - 0x4], D0
00000848 2013 move.l D0, [A3]
0000084A 720E moveq.l D1, 0x0E
0000084C D081 add.l D0, D1
0000084E 48C7 ext.l D7
00000850 D087 add.l D0, D7
00000852 2D40 FFF8 move.l [A6 - 0x8], D0
00000856 204B movea.l A0, A3
00000858 A029 syscall HLock
0000085A 204C movea.l A0, A4
0000085C A029 syscall HLock
0000085E 206E FFF8 movea.l A0, [A6 - 0x8]
00000862 226E FFFC movea.l A1, [A6 - 0x4]
00000866 48C5 ext.l D5
00000868 2005 move.l D0, D5
0000086A A02E syscall BlockMove/BlockMoveData
0000086C 204B movea.l A0, A3
0000086E A02A syscall HUnlock
00000870 204C movea.l A0, A4
00000872 1004 move.b D0, D4
00000874 A06A syscall HSetState
00000876 2054 movea.l A0, [A4]
00000878 2253 movea.l A1, [A3]
0000087A 3029 000C move.w D0, [A1 + 0xC]
0000087E D168 000C add.w [A0 + 0xC], D0
label00000882:
00000882 2F0B move.l -[A7], A3
00000884 A9A3 syscall ReleaseResource
label00000886:
00000886 4CEE 18F0 FFE0 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x20]
0000088C 4E5E unlink A6
0000088E 4E75 rts
00000890 8B41 7070 pack D5, D1, 0x7070
00000894 656E bcs +0x70 /* 00000904 */
00000896 6432 bcc +0x34 /* 000008CA */
00000898 6864 bvc +0x66 /* 000008FE */
0000089A 6C67 bge +0x69 /* 00000903 */
0000089C 0000 .incomplete